package com.arpa.wms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author: Allen chen
 * @Date 2020/8/11
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Unit对象", description="单位")
@TableName("base_unit")
public class GoodsUnit extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "所属机构")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty(value = "所属货主")
    @TableField("shipment_code")
    private String shipmentCode;

    @ApiModelProperty(value = "所属货主名称")
    @TableField("shipment_name")
    private String shipmentName;

    @ApiModelProperty(value = "单位名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "单位code")
    @TableField("unit_code")
    private String unitCode;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "状态")
    @TableField("delete_flag")
    private String deleteFlag;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

}
